export default {
  getCinemaTicketMutation (state, data) {
    state.cinemaTicket = data
  },
  // getCityList (state, data) {
  //   state.cityList = data.cityList
  //   state.hostList = data.hostList
  // },
  getCurrentCity (state, data) {
    state.currentCity = data
    state.selectLists['cityId'] = data.id
    window.localStorage.setItem('currentCity', JSON.stringify(data))
    window.localStorage.setItem('selectLists', JSON.stringify(state.selectLists))
  },
  getSelectLists (state, data) {
    state.selectLists = data
    window.localStorage.setItem('selectLists', JSON.stringify(data))
  }
}
